package com.zongxingh.falcon.logger.writer;

import com.zongxingh.falcon.logger.config.LoggerProperties;
import com.zongxingh.falcon.logger.writer.impl.DefaultLogWriter;
import com.zongxingh.falcon.mq.config.MqProperties;

/**
 * Introduction:  日志工厂类，后面可能会扩展新的日志发送端
 * Package Name:  com.zongxingh.falcon.logger.writer
 * Project Name:  falcon-logger
 * Author:  zongxingh
 * Email： zongxingh@163.com
 * Tel: 157*****778
 * Create Time:  2020/10/25 16:18
 */
public class LogWriterFactory {

    public static AbstractLogWriter getDefaultLogWriter(Class<?> clazz, MqProperties mqProperties, LoggerProperties properties){
        return new DefaultLogWriter(clazz,mqProperties,properties);
    }
}
